home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / abs < prev    next >
Text File  |  2001-04-06  |  442b  |  20 lines

  1. SYNOPSIS
  2.         int   abs (int arg)
  3.         float abs (float arg)
  4.  
  5. DESCRIPTION
  6.         Returns the absolute value of the argument <arg>.
  7.  
  8. EXAMPLES
  9.         abs(-18)    - returns 18
  10.         abs(11)     - returns 11
  11.         abs(-1.974) - returns 1.974
  12.         ...
  13.  
  14. HISTORY
  15.         Introduced in LDMud 3.2.6.
  16.  
  17. SEE ALSO
  18.         sin(E), asin(E), cos(E), acos(E), tan(E), atan(E), log(E),
  19.         exp(E), sqrt(E), floor(E), ceil(E), pow(E), sgn(E)
  20.